/*
 * Copyright 2012-2014 Manlost.com All right reserved. This software is the confidential and proprietary information of
 * Manlost.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Manlost.com.
 */
package com.manlost.biz.account.model.dataobject;


/**
 * 类ManlostUser.java的实现描述：TODO 类实现描述
 * 
 * @author luxiaochuan 2012-3-25 下午5:58:25
 * @author kang.zhouk
 */
public class Account {

	/**
	 * 用户Id
	 */
    private Long   id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 用户邮箱
     */
    private String email;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 用户状态
     */
    private String status;
    /**
     * 用户等级
     */
    private String level;
    
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getLevel() {
		return level;
	}
	
	public void setLevel(String level) {
		this.level = level;
	}
	
	@Override
	public String toString() {
		StringBuilder accountInfo = new StringBuilder(); 
		accountInfo.append("[Id:").append(id).append("]").append("-");
		accountInfo.append("[Username:").append(username).append("]").append("-");
		accountInfo.append("[Email:").append(email).append("]").append("-");
		accountInfo.append("[Password:").append(password).append("]").append("-");
		accountInfo.append("[Status:").append(status).append("]").append("-");
		accountInfo.append("[Level:").append(level).append("]").append("-");
		
		return accountInfo.toString();
	}
}
